x86: replace reset_stack_and_jump_nolp()
authorJan Beulich <jbeulich@suse.com>
Tue, 15 Dec 2020 11:30:01 +0000 (12:30 +0100)
committerHans van Kranenburg <hans@knorrie.org>
Tue, 15 Dec 2020 11:30:01 +0000 (12:30 +0100)
commit7bf9ca7ca022bab3eda4bf2501418423205cd0c6
tree6315ec4ed2c5be38b4a0876b28624c7f6de0efc9
parent9aac30ca6797e28f233d105e49219b33ef328cfb
x86: replace reset_stack_and_jump_nolp()

Move the necessary check into check_for_livepatch_work(), rather than
mostly duplicating reset_stack_and_jump() for this purpose. This is to
prevent an inflation of reset_stack_and_jump() flavors.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
xen/arch/x86/domain.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmcs.c
xen/arch/x86/pv/domain.c
xen/arch/x86/setup.c
xen/common/livepatch.c
xen/include/asm-x86/current.h